package org.ztest.rmi;

import java.rmi.Naming;

public class RmiClient
{
	public void invoke() throws Exception
	{
		IHello hello = (IHello) Naming.lookup("rmi://localhost:1099/hello");
		System.out.println(hello.sayHello("FIRE"));
	}
}
